<?php get_header(); ?>
<?php if(have_posts()): ?>
        <section id="content">
            <div class="block last">
                <div class="inner full-width">
                <?php if(!is_home()): ?>
                <div class="head-title style2 mar-left">
                  <div class="center">
                      <?php
            the_archive_title( '<h1 class="bold">', '</h1>' );
          ?>
							        <!-- <strong><em>700</em></strong> Results for <strong>'<?php echo ey_current_term() ?>'</strong> in blog -->
							    </div>
							    <!-- <div class="right">
							        <div class="nav">
							            In other sections:
							                        <ul>
							                <li><a href="/search-websites/?text="><em>16950</em> Websites</a></li>
							                <li><a href="/jobs/search/?text="><em>87</em> Jobs</a></li>
							                <li><a href="/events/search-events/?text="><em>264</em> Events</a></li>
							                <li><a href="/directory/search-by-text?text="><em>294952</em> Users</a></li>
							            </ul>
							        </div>
							    </div> -->
                </div>
              <?php endif; ?>
                    <div class="grid">
                        <ul class="masonry" id="masonry-1">
	                        <?php while(have_posts()):the_post(); ?>
                            <li class="col n-2-5">
                              <div class="box-default box-post">
                                <figure class="rollover">
                                    <a href="<?php the_permalink(); ?>">
                                    		<?php ey_thumbnail(); ?>
                                    </a>
                                </figure>
                                <div class="info">
                                    <h3 class="x-bold"><a href="<?php the_permalink(); ?>"><?php the_title(); ?></a></h3>
                                    <div class="row category">
		                                    <i class="iconfont icon-folder-open" style="margin-right:5px;color:#313131;"></i>
                                        <?php ey_the_terms_withlink(); ?>
                                    </div>
                                    <div class="row date">
                                    	<i class="iconfont icon-time" style="margin-right:5px;"></i>
                                    	<?php echo get_the_date(); ?>
                                    </div>
                                </div>
                              </div>
                            </li>
                            <?php endwhile; ?>
                          </ul>
                      </div>
                  </div>
                      <div class="paginate grid">
                          <div class="col n-6">
                              <?php ey_pagenav(); ?>
                          </div>
                          <div class="col n-6 more">
                              <a class="bold next" href="#">加载更多...</a>
                          </div>
                      </div>
                      <div id="infscr-loading" class="infinite-loading" style="display: none;">
                      	<img alt="Loading..." src="">
                      	<div class="text">Loading...</div>
                      </div>
                  </div>
              </section>
<?php endif; ?>
<?php get_footer(); ?>
